<include file="public:header" />


    <div class="panel-group" id="accordion">
        <volist name="list" id="m">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h4 class="panel-title">
                        <a style="text-decoration: none;" class='btn-block' data-toggle="collapse" data-toggle="collapse" data-parent="#accordion" href="#collapse{$i}">
                            {:date('Y年m月',strtotime($m['month']))}  <span class="badge pull-right">{$m.total}</span>
                        </a>
                    </h4>
                </div>
                <div id="collapse{$i}" class="panel-collapse collapse <if condition="$i eq 1">  in</if>">
                    <div class="panel-body">
                        <ul class="nav nav-pills nav-stacked">
                        <volist name="m.days" id="day">
                            <li>
                                <a href="__ROOT__/index.php?g=api&m=sales&a=myList&day={$day.day}">{:date('Y年m月d日',strtotime($day['day']))} <span class="badge pull-right">{$day.count}</span></a>
                            </li>
                        </volist>
                        </ul>
                    </div>
                </div>
            </div>
        </volist>
    </div>

<include file="public:footer" />